import { $t } from "@/plugins/i18n";

const Layout = () => import("@/layout/index.vue");
// 最简代码，也就是这些字段必须有
export default {
  path: "/store",
  redirect: "/store/index",
  component: Layout,
  meta: {
    title: "店铺管理",
    rank: 8,
    icon: "ant-design:setting-outlined"
  },
  children: [
    {
      path: "/store/index",
      name: "Store",
      component: () => import("@/views/store/index.vue"),
      meta: {
        title: "店铺管理",
        showLink: true
      }
    },
    {
      path: "/store/employee",
      name: "Employee",
      component: () => import("@/views/store/employee/index.vue"),
      meta: {
        title: "员工管理",
        showLink: false
      }
    }
  ]
};
